﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CoolERP_Web
{
    [Serializable]
    public class CurrentUser
    {
        public Guid UserID { get; set; }
        public string UserName { get; set; }

        /// <summary>
        /// 是否匿名用户
        /// </summary>
        public bool IsAnonymous { get; set; }

        /// <summary>
        /// 用户所属的权限编码
        /// </summary>
        public List<string> PermissionCodes { get; set; }

        ///// <summary>
        ///// 用户的角色
        ///// </summary>
        //public Role Role{ get; set; }
    }
}